package br.com.werp.suporte.lov;
import java.util.*;
import org.apache.struts.action.*;
import javax.servlet.http.*;

/**
 * Creation Date 24/07/2006 08:44:49
 * Last Modify Date 24/07/2006 09:22:06
 */

public class PesquisarMaquinasActionForm extends org.apache.struts.action.ActionForm {
  public String maqn_nome;
  public String maqn_setor;
  public String maqn_setor_descricao;
  public String pesqMaquinas;
  private boolean valida = false;
  public PesquisarMaquinasActionForm() {
  }
  /**
    * MAQN_NOME: Gets the value of this field.
    */
  public String getMaqn_nome() {
    return maqn_nome;
  }
  /**
     * MAQN_NOME: Sets thhe value for this field.
     */
  public void setMaqn_nome(String MAQN_NOME) {
    maqn_nome = MAQN_NOME;
  }
  /**
    * MAQN_SETOR: Gets the value of this field.
    */
  public String getMaqn_setor() {
    return maqn_setor;
  }
  /**
     * MAQN_SETOR: Sets thhe value for this field.
     */
  public void setMaqn_setor(String MAQN_SETOR) {
    maqn_setor = MAQN_SETOR;
  }
  /**
    * MAQN_SETOR_DESCRICAO: Gets the value of this field.
    */
  public String getMaqn_setor_descricao() {
    return maqn_setor_descricao;
  }
  /**
     * MAQN_SETOR_DESCRICAO: Sets thhe value for this field.
     */
  public void setMaqn_setor_descricao(String MAQN_SETOR_DESCRICAO) {
    maqn_setor_descricao = MAQN_SETOR_DESCRICAO;
  }
  /**
    * PESQMAQUINAS: Gets the value of this field.
    */
  public String getPesqMaquinas() {
    return pesqMaquinas;
  }
  /**
     * PESQMAQUINAS: Sets thhe value for this field.
     */
  public void setPesqMaquinas(String PESQMAQUINAS) {
    pesqMaquinas = PESQMAQUINAS;
  }
  /**
    * Reset all fields.
    */
  public void reset(org.apache.struts.action.ActionMapping mapping,
      javax.servlet.http.HttpServletRequest request) {
    maqn_nome = null;
    maqn_setor = null;
    maqn_setor_descricao = null;
    pesqMaquinas = null;
  }
  /**
    * Validate fields and return ActionErrors.
    */

  public ActionErrors validate(org.apache.struts.action.ActionMapping mapping,
      javax.servlet.http.HttpServletRequest request) {
    ActionErrors errors = new ActionErrors();
    valida = false;
    if (errors != null && errors.size() > 0) {
      javax.servlet.http.HttpSession session = request.getSession(true);
      ActionForward actionForward = null;
      session.setAttribute(mapping.getName(), this);
    }
    return errors;
  }
}
